import Layout from '@/layout'
// 考勤管理，动态路由，根据用户权限不一样不同的显示
const attendancesRouter = {
  path: '/attendances',
  component: Layout,
  children: [
    {
      name: 'attendances',
      path: '', // 二级路由为空，作为默认渲染路由
      component: () => import ('@/views/attendances/index'),
      meta: { title: '考勤', icon: 'skill' }
    }
  ]
}

export default attendancesRouter
